package cn.itsource.user.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.system.domain.Menu;
import cn.itsource.user.domain.Logininfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2024-05-10
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {


    Logininfo findAccount(@Param("account") String account,@Param("type") Integer type);

    List<String> findPermissionsBYLlogininfoId(Long id);

    List<Menu> findMenusBYLlogininfoId(Long id);
}
